package com.runa.rccprotocol.dto.generic;

import com.runa.protocol.util.ByteUtil;
import com.runa.rccprotocol.dto.ConcentratorResponseData;

public class OriginalConcenResponseData extends ConcentratorResponseData<String> {

    private String message;

    public OriginalConcenResponseData(byte[] bs, int offset, int len) {
        this.message = ByteUtil.byteToHexString(bs, offset, len);
    }

    @Override
    public String getData() {
        return message;
    }
}
